<?php

class m140312_175719_create_field_table extends CDbMigration
{
    public function up() {
        $this->createTable('tbl_field', array(
            'id' => 'pk',
            'name' => 'string NOT NULL',
            'age' => 'string NOT NULL',
            'class' => 'string NOT NULL',
        ));
    }
 
    public function down()
    {
        $this->dropTable('tbl_field');
    }
	/*
	// Use safeUp/safeDown to do migration with transaction
	public function safeUp()
	{
	}

	public function safeDown()
	{
	}
	*/
}